﻿function danhsachbaiviet(ma) {

    $('#menubaiviet').load("HomeAdmin/danhSachBaiViet?CapCha=" + ma);

}
function xoDanhSach(menu) {
    if (menu.nextSibling.style.display == 'none') {
        if (menu.children.length > 0) {
            if (menu.children.item(0).tagName == "IMG") {
                menu.children.item(0).src = "../../Images/lct_hinh/minus.gif";
            }
        }
        menu.nextSibling.style.display = '';
    }
    else {
        // Change the image (if there is an image)
        if (menu.children.length > 0) {
            if (menu.children.item(0).tagName == "IMG") {
                menu.children.item(0).src = "../../Images/lct_hinh/plus.gif";
            }
        }

        menu.nextSibling.style.display = 'none';
    }
}